package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.Order;
import com.hziee.graduate.ticket.vo.OrderVO;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


public interface OrderService extends IService<Order> {

    R<List<OrderVO>> getOrderVO(Long userId);

    R<Object> cancelOrder(String orderId);

    R<LocalDateTime> payOrder(String orderId);

    R<Object> checkReChoose(String orderId);
}

